﻿@model Wheeler.Web.ViewModels.TestResultViewModel
@using Wheeler.Web.Utility;

@{
	String pageTitle = "Test Result Entry";
    ViewBag.Title = Html.GetPageTitle(pageTitle);
	ViewData[AppConstants.ViewDataKeys.SELECTED_MENU] = OperatorMenu.TestResults;
	bool _HasSaved = ViewData.HasSaved();
}

<div class="jb-page-heading">
    <h1>@pageTitle</h1>
    <div>Status of Test Result Entry.</div>
</div>
@if (Model == null)
{
    @: @Html.WarningMessageBox("Sorry! The requested test result was not found.", "Failed")
}
else
{
<div class="jb-page-content">
    <div class="jb-group-title">Vehicle Information</div>
    @Html.Partial("_VehicleInfo", Model.Vehicle)
    @*<a href='/Private/TestResult/PrintResult?VehicleID=" + Model.VehicleID + "' class='btn-small btn-primary'>Print</a> this test result.*@
    @Html.SuccessMessageBox("Congratulations! The test result was recorded successfully for the above Auto Rickshaw.<br/> <a href='/Private/Vehicle/Search'>Click here</a> to submit another.", "Success")
</div>
}


